package cn.xredman.web.jcaptcha;

import org.apache.commons.collections.FastHashMap;

import com.octo.captcha.service.captchastore.FastHashMapCaptchaStore;
import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
import com.octo.captcha.service.image.ImageCaptchaService;

public class JcaptchaServiceSingletion {

	 private static ImageCaptchaService instance = new DefaultManageableImageCaptchaService(
			   new FastHashMapCaptchaStore(), new GMailEngine(), 180,
			   100000 , 75000);
//	private static ImageCaptchaService instance=new DefaultManageableImageCaptchaService();
	 public static ImageCaptchaService getInstance(){
     	return instance;
  }
}
